package javaee14.Model;

import org.springframework.stereotype.Component;

import java.util.Date;
@Component
public class Out {
    private int id;
    private double outprice;
    private String outtime;
    private int outnum;
    private String outplace;
    private String who;

    public int getId() {
        return id;
    }
    public void setId(int id) {
        this.id = id;
    }
    public double getOutprice() {
        return outprice;
    }
    public void setOutprice(double outprice) {
        this.outprice = outprice;
    }
    public String getOuttime() {
        return outtime;
    }
    public void setOuttime(String outtime) {
        this.outtime = outtime;
    }
    public int getOutnum() {
        return outnum;
    }
    public void setOutnum(int outnum) {
        this.outnum = outnum;
    }
    public String getOutplace() {
        return outplace;
    }
    public void setOutplace(String outplace) {
        this.outplace = outplace;
    }
    public String getWho() {
        return who;
    }
    public void setWho(String who) {
        this.who = who;
    }

    @Override
    public String toString() {
        return "out{" +
                "id=" + id +
                ", outprice=" + outprice +
                ", outtime=" + outtime +
                ", outnum=" + outnum +
                ", outplace='" + outplace + '\'' +
                ", who='" + who + '\'' +
                '}';
    }
}
